package com.zzh.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author zihong.zheng
 * @version 1.0
 * @date 2019/2/9
 * @time 21:43
 * @description
 * EnableConfigServer 开启config server服务端
 */

@SpringBootApplication
@EnableEurekaClient
@EnableConfigServer
public class ApplicationConfigServer {


    public static void main(String[] args) {
        SpringApplication.run(ApplicationConfigServer.class,args);
    }
}
